package com.ams.entity;

import java.io.Serializable;
import java.util.Set;




public class Buyer implements Serializable{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4691133169119225046L;

	private int buyerId;
	
	private Dept dept;
	
	private Set<Assest> assests;
	
	private String buyerName;
	
	public Buyer(){}

	public int getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(int buyerId) {
		this.buyerId = buyerId;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public String getBuyerName() {
		return buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}

	public Set<Assest> getAssests() {
		return assests;
	}

	public void setAssests(Set<Assest> assests) {
		this.assests = assests;
	}
	
	public String toString(){
	  return buyerName;	
	}
	
}
